#ifndef GROUP_H
#define GROUP_H

#include <iostream>
#include <string>

// Group是AllGroup表的ORM映射表

class Group
{
public:

    Group(int fpid = -1,std::string fpname = "",std::string fpdesc = "这个群主很懒，什么都没有写")
    :id(fpid)
    ,groupname(fpname)
    ,groupdesc(fpdesc)
    {}

    void setId(int fpid){id = fpid;};
    void setGroupname(std::string fpname){groupname = fpname;};
    void setGroupdesc(std::string fpdesc){groupname = groupdesc;};
    
    int getId(){return id;};
    std::string getGroupname(){return groupname;};
    std::string getGroupdesc(){return groupdesc;};


public:
      // 这里就不打 “_” 了因为要和 数据库里的列名对称
      int id;
      std::string groupname;
      std::string groupdesc; //这个是对组的描述

};



#endif